package com.lost.octopus.es.helper.util;

import java.time.LocalDate;
import java.time.format.DateTimeFormatter;

/**
 * 年龄相关的工具
 * @author zhangbh
 * @date 2025/5/14 9:12
 */
public class AgeUtil {

    public static String toString8(LocalDate date) {
        return date.format(DateTimeFormatter.ofPattern("yyyyMMdd"));
    }

}
